#ifndef _BEEP_H
#define _BEEP_H

#include "config.h"

#ifdef PWM
#define beepOn()		TCCR0B |= _BV(CS00);
#define beepOff()		TCCR0B &= ~_BV(CS00);
#else
#define beepOn()		PORTB |= _BV(BUZZ);
#define beepOff()		PORTB &= ~_BV(BUZZ);
#endif

void initBuzzer();

#endif
